﻿#region Copyright
/// <copyright>
/// Copyright (c) 2008 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.Text;

namespace Osh.Dvb
{
	public class TeletextPageDescription
	{
		private LanguageCode _language;
		private TeletextPageTypes _pageType;
		private int _magazine;
		private int _pageNumber;

		public TeletextPageDescription(LanguageCode language, TeletextPageTypes type, int magazine, int pageNumber)
		{
			_language = language;
			_pageType = type;
			_magazine = magazine;
			_pageNumber = pageNumber;
		}

		public TeletextPageTypes PageType
		{
			get { return _pageType; }
		}

		public int Magazine
		{
			get { return _magazine; }
		}

		public int PageNumber
		{
			get { return _pageNumber; }
		}

		public LanguageCode Language
		{
			get { return _language; }
		}
	}
}
